<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/fmt/bundled/posix.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('posix_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">posix.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="posix_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// A C++ interface to POSIX functions.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Copyright (c) 2012 - 2016, Victor Zverovich</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// All rights reserved.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// For the license information refer to format.h.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef FMT_POSIX_H_</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define FMT_POSIX_H_</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#if defined(__MINGW32__) || defined(__CYGWIN__)</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// Workaround MinGW bug https://sourceforge.net/p/mingw/bugs/2024/.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"># undef __STRICT_ANSI__</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;errno.h&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;fcntl.h&gt;</span>   <span class="comment">// for O_RDONLY</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="locale_8h.html">locale.h</a>&gt;</span>  <span class="comment">// for locale_t</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span>  <span class="comment">// for strtod_l</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;cstddef&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#if defined __APPLE__ || defined(__FreeBSD__)</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor"># include &lt;xlocale.h&gt;</span>  <span class="comment">// for LC_NUMERIC_MASK on OS X</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="format_8h.html">format.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef FMT_POSIX</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"># if defined(_WIN32) &amp;&amp; !defined(__MINGW32__)</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">// Fix warnings about deprecated symbols.</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#  define FMT_POSIX(call) _##call</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor"># else</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="posix_8h.html#a6fa0773ef89920062fe6ab8b6e3cf337">   35</a></span>&#160;<span class="preprocessor">#  define FMT_POSIX(call) call</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"># endif</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// Calls to system functions are wrapped in FMT_SYSTEM for testability.</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#ifdef FMT_SYSTEM</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor"># define FMT_POSIX_CALL(call) FMT_SYSTEM(call)</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="posix_8h.html#acca658935a0993e7cf549b4a5be255a3">   43</a></span>&#160;<span class="preprocessor"># define FMT_SYSTEM(call) call</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor"># ifdef _WIN32</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">// Fix warnings about deprecated symbols.</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#  define FMT_POSIX_CALL(call) ::_##call</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor"># else</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="posix_8h.html#aa693a9f0c55e9b081f1ea5bf04968dd7">   48</a></span>&#160;<span class="preprocessor">#  define FMT_POSIX_CALL(call) ::call</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"># endif</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">// Retries the expression while it evaluates to error_result and errno</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// equals to EINTR.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#ifndef _WIN32</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="posix_8h.html#a54f7e73fc1fc6ded8358c6339b51bde7">   55</a></span>&#160;<span class="preprocessor"># define FMT_RETRY_VAL(result, expression, error_result) \</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">  do { \</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">    result = (expression); \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">  } while (result == error_result &amp;&amp; errno == EINTR)</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor"># define FMT_RETRY_VAL(result, expression, error_result) result = (expression)</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="posix_8h.html#a9d6790ac79298b8abd2472500422e138">   63</a></span>&#160;<span class="preprocessor">#define FMT_RETRY(result, expression) FMT_RETRY_VAL(result, expression, -1)</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<a class="code" href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Char&gt;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__cstring__view.html">   93</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html">basic_cstring_view</a> {</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="keyword">const</span> Char *data_;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__cstring__view.html#ad21a04a526524ac3477761399a792fda">   99</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html#ad21a04a526524ac3477761399a792fda">basic_cstring_view</a>(<span class="keyword">const</span> Char *s) : data_(s) {}</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__cstring__view.html#a56c61688f005a3f7495d45b443d78d1c">  106</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html#a56c61688f005a3f7495d45b443d78d1c">basic_cstring_view</a>(<span class="keyword">const</span> std::basic_string&lt;Char&gt; &amp;s) : data_(s.c_str()) {}</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1basic__cstring__view.html#a3fd9fc51eb41ceeae397a70712a68af5">  109</a></span>&#160;  <span class="keyword">const</span> Char *<a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html#a3fd9fc51eb41ceeae397a70712a68af5">c_str</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_; }</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;};</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#aefed7eb96cd309b6f9d5dab1f9fae2f6">  112</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html">basic_cstring_view&lt;char&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#aefed7eb96cd309b6f9d5dab1f9fae2f6">cstring_view</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="namespacefmt_1_1v5.html#a510a8bb1fab87ff109e319e8f8e35405">  113</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html">basic_cstring_view&lt;wchar_t&gt;</a> <a class="code" href="namespacefmt_1_1v5.html#a510a8bb1fab87ff109e319e8f8e35405">wcstring_view</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">// An error code.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1error__code.html">  116</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1error__code.html">error_code</a> {</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <span class="keywordtype">int</span> value_;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1error__code.html#a71a509534cb2d3a5705c6812293dd7f8">  121</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1error__code.html#a71a509534cb2d3a5705c6812293dd7f8">error_code</a>(<span class="keywordtype">int</span> value = 0) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> : value_(value) {}</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1error__code.html#acc9ac3c2c0c39549a085fa32d8ca2408">  123</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfmt_1_1v5_1_1error__code.html#acc9ac3c2c0c39549a085fa32d8ca2408">get</a>() const <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> { <span class="keywordflow">return</span> value_; }</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;};</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">// A buffered file.</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html">  127</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a> {</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  FILE *file_;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#a686a90482e62dd1618201a3c79f9aae6">  131</a></span>&#160;  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1file.html">file</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a>(FILE *f) : file_(f) {}</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <span class="comment">// Constructs a buffered_file object which doesn&#39;t represent any file.</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#abeb561e30fd613877c25ebf031eb1104">  137</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1buffered__file.html#abeb561e30fd613877c25ebf031eb1104">buffered_file</a>() <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> : file_(<a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>) {}</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="comment">// Destroys the object closing the file it represents if any.</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> ~<a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a>() <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; private:</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a>(const <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a> &amp;) = delete;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keywordtype">void</span> operator=(const <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a> &amp;) = delete;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; public:</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#a89aed138335acd38e0dc1a1618b6b52c">  148</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a>(<a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a> &amp;&amp;other) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> : file_(other.file_) {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    other.file_ = <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  }</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#a74bd895df8fc7612ed57b267272d0d6e">  152</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a>&amp; <a class="code" href="classfmt_1_1v5_1_1buffered__file.html#a74bd895df8fc7612ed57b267272d0d6e">operator=</a>(<a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a> &amp;&amp;other) {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    close();</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    file_ = other.file_;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    other.file_ = <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  }</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  <span class="comment">// Opens a file.</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a>(<a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html">cstring_view</a> filename, <a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html">cstring_view</a> mode);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  <span class="comment">// Closes the file.</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> close();</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <span class="comment">// Returns the pointer to a FILE object representing this file.</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#abbd16863df6a504cceb14db716ac0573">  166</a></span>&#160;  FILE *<a class="code" href="classfmt_1_1v5_1_1buffered__file.html#abbd16863df6a504cceb14db716ac0573">get</a>() const <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> { <span class="keywordflow">return</span> file_; }</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;  <span class="comment">// We place parentheses around fileno to workaround a bug in some versions</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="comment">// of MinGW that define fileno as a macro.</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> int (fileno)() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#ae90c624636ac4919eb5c8a38e6393315">  172</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1buffered__file.html#ae90c624636ac4919eb5c8a38e6393315">vprint</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> format_str, <a class="code" href="structfmt_1_1v5_1_1format__args.html">format_args</a> args) {</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#a4df07cd85241561a9b8ce9a7351b1606">fmt::vprint</a>(file_, format_str, args);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;  }</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1buffered__file.html#a52e4076f24c9a64080ef4828329c1cad">  177</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classfmt_1_1v5_1_1buffered__file.html#a52e4076f24c9a64080ef4828329c1cad">print</a>(<a class="code" href="classfmt_1_1v5_1_1basic__string__view.html">string_view</a> format_str, <span class="keyword">const</span> Args &amp; ... args) {</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <a class="code" href="namespacefmt_1_1v5.html#a4df07cd85241561a9b8ce9a7351b1606">vprint</a>(format_str, <a class="code" href="namespacefmt_1_1v5.html#a99faaaf62db5189f2e36070a04fc6981">make_format_args</a>(args...));</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  }</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;};</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">// A file. Closed file is represented by a file object with descriptor -1.</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">// Methods that are not declared with FMT_NOEXCEPT may throw</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment">// fmt::system_error in case of failure. Note that some errors such as</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">// closing the file multiple times will cause a crash on Windows rather</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment">// than an exception. You can get standard behavior by overriding the</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">// invalid parameter handler with _set_invalid_parameter_handler.</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html">  188</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfmt_1_1v5_1_1file.html">file</a> {</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  <span class="keywordtype">int</span> fd_;  <span class="comment">// File descriptor.</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <span class="comment">// Constructs a file object with a given descriptor.</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classfmt_1_1v5_1_1file.html">file</a>(<span class="keywordtype">int</span> fd) : fd_(fd) {}</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  <span class="comment">// Possible values for the oflag argument to the constructor.</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#a76c6c7024a7133e5d62d407043ee58a1a51c67cb8c6aa3d8dbdfdf87561746169">  198</a></span>&#160;    RDONLY = <a class="code" href="posix_8h.html#a6fa0773ef89920062fe6ab8b6e3cf337">FMT_POSIX</a>(O_RDONLY), <span class="comment">// Open for reading only.</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#a76c6c7024a7133e5d62d407043ee58a1a32af7e818a81bb44c1c34bf9afd64d68">  199</a></span>&#160;    WRONLY = <a class="code" href="posix_8h.html#a6fa0773ef89920062fe6ab8b6e3cf337">FMT_POSIX</a>(O_WRONLY), <span class="comment">// Open for writing only.</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#a76c6c7024a7133e5d62d407043ee58a1afc29ebeb23bb8aac58bc3911f67a7e18">  200</a></span>&#160;    RDWR   = <a class="code" href="posix_8h.html#a6fa0773ef89920062fe6ab8b6e3cf337">FMT_POSIX</a>(O_RDWR)    <span class="comment">// Open for reading and writing.</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;  };</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;  <span class="comment">// Constructs a file object which doesn&#39;t represent any file.</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#a19a7f8f226393c0ccd49e2a9c9480e8e">  204</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1file.html#a19a7f8f226393c0ccd49e2a9c9480e8e">file</a>() <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> : fd_(-1) {}</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;  <span class="comment">// Opens a file and constructs a file object representing this file.</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <a class="code" href="classfmt_1_1v5_1_1file.html">file</a>(<a class="code" href="classfmt_1_1v5_1_1basic__cstring__view.html">cstring_view</a> path, <span class="keywordtype">int</span> oflag);</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;  <a class="code" href="classfmt_1_1v5_1_1file.html">file</a>(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1file.html">file</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;  <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1file.html">file</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#a7e1ec236bdb4eebe9c1dc948e811fbfd">  214</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1file.html#a7e1ec236bdb4eebe9c1dc948e811fbfd">file</a>(<a class="code" href="classfmt_1_1v5_1_1file.html">file</a> &amp;&amp;other) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> : fd_(other.fd_) {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    other.fd_ = -1;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#ad3bb617d365c213a074264b39a2e1f46">  218</a></span>&#160;  <a class="code" href="classfmt_1_1v5_1_1file.html">file</a>&amp; <a class="code" href="classfmt_1_1v5_1_1file.html#ad3bb617d365c213a074264b39a2e1f46">operator=</a>(<a class="code" href="classfmt_1_1v5_1_1file.html">file</a> &amp;&amp;other) {</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    close();</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    fd_ = other.fd_;</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    other.fd_ = -1;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;  }</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;  <span class="comment">// Destroys the object closing the file it represents if any.</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> ~<a class="code" href="classfmt_1_1v5_1_1file.html">file</a>() <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;  <span class="comment">// Returns the file descriptor.</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classfmt_1_1v5_1_1file.html#a75a2feb65318ccbbb04e36fc1eecf74a">  229</a></span>&#160;  <span class="keywordtype">int</span> descriptor() const <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a> { <span class="keywordflow">return</span> fd_; }</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;  <span class="comment">// Closes the file.</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> close();</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;  <span class="comment">// Returns the file size. The size has signed type for consistency with</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;  <span class="comment">// stat::st_size.</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">long</span> <span class="keywordtype">long</span> size() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;  <span class="comment">// Attempts to read count bytes from the file into the specified buffer.</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> std::size_t read(<span class="keywordtype">void</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, std::size_t count);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;  <span class="comment">// Attempts to write count bytes from the specified buffer to the file.</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> std::size_t <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">write</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">buffer</a>, std::size_t count);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;  <span class="comment">// Duplicates a file descriptor with the dup function and returns</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;  <span class="comment">// the duplicate as a file object.</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">static</span> <a class="code" href="classfmt_1_1v5_1_1file.html">file</a> dup(<span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;  <span class="comment">// Makes fd be the copy of this file descriptor, closing fd first if</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;  <span class="comment">// necessary.</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> dup2(<span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;  <span class="comment">// Makes fd be the copy of this file descriptor, closing fd first if</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;  <span class="comment">// necessary.</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keywordtype">void</span> dup2(<span class="keywordtype">int</span> fd, <a class="code" href="classfmt_1_1v5_1_1error__code.html">error_code</a> &amp;ec) <a class="code" href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a>;</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;  <span class="comment">// Creates a pipe setting up read_end and write_end file objects for reading</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;  <span class="comment">// and writing respectively.</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <span class="keyword">static</span> <span class="keywordtype">void</span> pipe(<a class="code" href="classfmt_1_1v5_1_1file.html">file</a> &amp;read_end, <a class="code" href="classfmt_1_1v5_1_1file.html">file</a> &amp;write_end);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;  <span class="comment">// Creates a buffered_file object associated with this file and detaches</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;  <span class="comment">// this file object from the file.</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;  <a class="code" href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a> <a class="code" href="classfmt_1_1v5_1_1buffered__file.html">buffered_file</a> fdopen(<span class="keyword">const</span> <span class="keywordtype">char</span> *mode);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;};</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="comment">// Returns the memory page size.</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="keywordtype">long</span> <a class="code" href="namespacefmt_1_1v5.html#ace4a142aff4cc70ee683b2134cc0fdff">getpagesize</a>();</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160; </div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="preprocessor">#if (defined(LC_NUMERIC_MASK) || defined(_MSC_VER)) &amp;&amp; \</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="preprocessor">    !defined(__ANDROID__) &amp;&amp; !defined(__CYGWIN__) &amp;&amp; !defined(__OpenBSD__) &amp;&amp; \</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="preprocessor">    !defined(__NEWLIB_H__)</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="preprocessor"># define FMT_LOCALE</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">#ifdef FMT_LOCALE</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="comment">// A &quot;C&quot; numeric locale.</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="keyword">class </span>Locale {</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="preprocessor"># ifdef _MSC_VER</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;  <span class="keyword">typedef</span> _locale_t locale_t;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160; </div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;  <span class="keyword">enum</span> { LC_NUMERIC_MASK = LC_NUMERIC };</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160; </div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;  <span class="keyword">static</span> locale_t newlocale(<span class="keywordtype">int</span> category_mask, <span class="keyword">const</span> <span class="keywordtype">char</span> *locale, locale_t) {</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordflow">return</span> _create_locale(category_mask, locale);</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;  }</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160; </div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">void</span> freelocale(locale_t locale) {</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    _free_locale(locale);</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;  }</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">double</span> strtod_l(<span class="keyword">const</span> <span class="keywordtype">char</span> *nptr, <span class="keywordtype">char</span> **endptr, _locale_t locale) {</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <span class="keywordflow">return</span> _strtod_l(nptr, endptr, locale);</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  }</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="preprocessor"># endif</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160; </div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;  locale_t locale_;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;  Locale(<span class="keyword">const</span> Locale &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;  <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> Locale &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;  <span class="keyword">typedef</span> locale_t Type;</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;  Locale() : locale_(newlocale(LC_NUMERIC_MASK, <span class="stringliteral">&quot;C&quot;</span>, <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>)) {</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <span class="keywordflow">if</span> (!locale_)</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;      <a class="code" href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">FMT_THROW</a>(system_error(errno, <span class="stringliteral">&quot;cannot create locale&quot;</span>));</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;  }</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;  ~Locale() { freelocale(locale_); }</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;  Type <a class="code" href="namespacespdlog.html#a658d68d4ebdb11793b1e78582f108674">get</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> locale_; }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160; </div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;  <span class="comment">// Converts string to floating-point number and advances str past the end</span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;  <span class="comment">// of the parsed input.</span></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;  <span class="keywordtype">double</span> strtod(<span class="keyword">const</span> <span class="keywordtype">char</span> *&amp;str)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">end</a> = <a class="code" href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a>;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <span class="keywordtype">double</span> result = strtod_l(str, &amp;<a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">end</a>, locale_);</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    str = <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">end</a>;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;  }</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;};</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="preprocessor">#endif  // FMT_LOCALE</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<a class="code" href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160; </div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="preprocessor">#endif  // FMT_POSIX_H_</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassfmt_1_1v5_1_1basic__cstring__view_html_a56c61688f005a3f7495d45b443d78d1c"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__cstring__view.html#a56c61688f005a3f7495d45b443d78d1c">fmt::v5::basic_cstring_view::basic_cstring_view</a></div><div class="ttdeci">basic_cstring_view(const std::basic_string&lt; Char &gt; &amp;s)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00106">posix.h:106</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1basic__string__view_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__string__view.html">fmt::v5::basic_string_view&lt; char &gt;</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1file_html_ad3bb617d365c213a074264b39a2e1f46"><div class="ttname"><a href="classfmt_1_1v5_1_1file.html#ad3bb617d365c213a074264b39a2e1f46">fmt::v5::file::operator=</a></div><div class="ttdeci">file &amp; operator=(file &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00218">posix.h:218</a></div></div>
<div class="ttc" id="acore_8h_html_a9a4960b70582ed2620911a0b75dce0b5"><div class="ttname"><a href="core_8h.html#a9a4960b70582ed2620911a0b75dce0b5">FMT_API</a></div><div class="ttdeci">#define FMT_API</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00166">core.h:166</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_html_ace4a142aff4cc70ee683b2134cc0fdff"><div class="ttname"><a href="namespacefmt_1_1v5.html#ace4a142aff4cc70ee683b2134cc0fdff">fmt::v5::getpagesize</a></div><div class="ttdeci">long getpagesize()</div></div>
<div class="ttc" id="aformat_8h_html"><div class="ttname"><a href="format_8h.html">format.h</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_1_1internal_html_a1f190af8f5561392e03519562384d3b8"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">fmt::v5::internal::end</a></div><div class="ttdeci">auto end(const C &amp;c) -&gt; decltype(c.end())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00257">format.h:257</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1buffered__file_html_abeb561e30fd613877c25ebf031eb1104"><div class="ttname"><a href="classfmt_1_1v5_1_1buffered__file.html#abeb561e30fd613877c25ebf031eb1104">fmt::v5::buffered_file::buffered_file</a></div><div class="ttdeci">buffered_file()</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00137">posix.h:137</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1file_html_a7e1ec236bdb4eebe9c1dc948e811fbfd"><div class="ttname"><a href="classfmt_1_1v5_1_1file.html#a7e1ec236bdb4eebe9c1dc948e811fbfd">fmt::v5::file::file</a></div><div class="ttdeci">file(file &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00214">posix.h:214</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1file_html_a19a7f8f226393c0ccd49e2a9c9480e8e"><div class="ttname"><a href="classfmt_1_1v5_1_1file.html#a19a7f8f226393c0ccd49e2a9c9480e8e">fmt::v5::file::file</a></div><div class="ttdeci">file()</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00204">posix.h:204</a></div></div>
<div class="ttc" id="acore_8h_html_af7f827e50dd7667484c279ac1d38f30b"><div class="ttname"><a href="core_8h.html#af7f827e50dd7667484c279ac1d38f30b">FMT_NULL</a></div><div class="ttdeci">#define FMT_NULL</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00107">core.h:107</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1basic__cstring__view_html_ad21a04a526524ac3477761399a792fda"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__cstring__view.html#ad21a04a526524ac3477761399a792fda">fmt::v5::basic_cstring_view::basic_cstring_view</a></div><div class="ttdeci">basic_cstring_view(const Char *s)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00099">posix.h:99</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_html_a4df07cd85241561a9b8ce9a7351b1606"><div class="ttname"><a href="namespacefmt_1_1v5.html#a4df07cd85241561a9b8ce9a7351b1606">fmt::v5::vprint</a></div><div class="ttdeci">void vprint(std::FILE *f, const text_style &amp;ts, const S &amp;format, basic_format_args&lt; typename buffer_context&lt; Char &gt;::type &gt; args)</div><div class="ttdef"><b>Definition:</b> <a href="color_8h_source.html#l00517">color.h:517</a></div></div>
<div class="ttc" id="acore_8h_html_aef128913e8400683b1cbd1a3a2e11df3"><div class="ttname"><a href="core_8h.html#aef128913e8400683b1cbd1a3a2e11df3">FMT_NOEXCEPT</a></div><div class="ttdeci">#define FMT_NOEXCEPT</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00140">core.h:140</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1file_html"><div class="ttname"><a href="classfmt_1_1v5_1_1file.html">fmt::v5::file</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00188">posix.h:188</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1buffered__file_html"><div class="ttname"><a href="classfmt_1_1v5_1_1buffered__file.html">fmt::v5::buffered_file</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00127">posix.h:127</a></div></div>
<div class="ttc" id="acore_8h_html_ae0d2fbdf031547a949fc7e1c0b3c97f1"><div class="ttname"><a href="core_8h.html#ae0d2fbdf031547a949fc7e1c0b3c97f1">FMT_END_NAMESPACE</a></div><div class="ttdeci">#define FMT_END_NAMESPACE</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00153">core.h:153</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_1_1internal_html_ae63557fe9ccf973c29dc6dd122fa4ae0"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#ae63557fe9ccf973c29dc6dd122fa4ae0">fmt::v5::internal::buffer</a></div><div class="ttdeci">basic_buffer&lt; char &gt; buffer</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00291">core.h:291</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1error__code_html_a71a509534cb2d3a5705c6812293dd7f8"><div class="ttname"><a href="classfmt_1_1v5_1_1error__code.html#a71a509534cb2d3a5705c6812293dd7f8">fmt::v5::error_code::error_code</a></div><div class="ttdeci">error_code(int value=0)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00121">posix.h:121</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_html_a510a8bb1fab87ff109e319e8f8e35405"><div class="ttname"><a href="namespacefmt_1_1v5.html#a510a8bb1fab87ff109e319e8f8e35405">fmt::v5::wcstring_view</a></div><div class="ttdeci">basic_cstring_view&lt; wchar_t &gt; wcstring_view</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00113">posix.h:113</a></div></div>
<div class="ttc" id="astructfmt_1_1v5_1_1format__args_html"><div class="ttname"><a href="structfmt_1_1v5_1_1format__args.html">fmt::v5::format_args</a></div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01294">core.h:1294</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_html_aefed7eb96cd309b6f9d5dab1f9fae2f6"><div class="ttname"><a href="namespacefmt_1_1v5.html#aefed7eb96cd309b6f9d5dab1f9fae2f6">fmt::v5::cstring_view</a></div><div class="ttdeci">basic_cstring_view&lt; char &gt; cstring_view</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00112">posix.h:112</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_html_a99faaaf62db5189f2e36070a04fc6981"><div class="ttname"><a href="namespacefmt_1_1v5.html#a99faaaf62db5189f2e36070a04fc6981">fmt::v5::make_format_args</a></div><div class="ttdeci">format_arg_store&lt; Context, Args... &gt; make_format_args(const Args &amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l01199">core.h:1199</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1error__code_html_acc9ac3c2c0c39549a085fa32d8ca2408"><div class="ttname"><a href="classfmt_1_1v5_1_1error__code.html#acc9ac3c2c0c39549a085fa32d8ca2408">fmt::v5::error_code::get</a></div><div class="ttdeci">int get() const</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00123">posix.h:123</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1basic__cstring__view_html_a3fd9fc51eb41ceeae397a70712a68af5"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__cstring__view.html#a3fd9fc51eb41ceeae397a70712a68af5">fmt::v5::basic_cstring_view::c_str</a></div><div class="ttdeci">const Char * c_str() const</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00109">posix.h:109</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1basic__cstring__view_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__cstring__view.html">fmt::v5::basic_cstring_view</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00093">posix.h:93</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1error__code_html"><div class="ttname"><a href="classfmt_1_1v5_1_1error__code.html">fmt::v5::error_code</a></div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00116">posix.h:116</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1buffered__file_html_ae90c624636ac4919eb5c8a38e6393315"><div class="ttname"><a href="classfmt_1_1v5_1_1buffered__file.html#ae90c624636ac4919eb5c8a38e6393315">fmt::v5::buffered_file::vprint</a></div><div class="ttdeci">void vprint(string_view format_str, format_args args)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00172">posix.h:172</a></div></div>
<div class="ttc" id="acore_8h_html_a887c191adf8cfaf06ed40b5c4d487343"><div class="ttname"><a href="core_8h.html#a887c191adf8cfaf06ed40b5c4d487343">FMT_BEGIN_NAMESPACE</a></div><div class="ttdeci">#define FMT_BEGIN_NAMESPACE</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00155">core.h:155</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1buffered__file_html_a74bd895df8fc7612ed57b267272d0d6e"><div class="ttname"><a href="classfmt_1_1v5_1_1buffered__file.html#a74bd895df8fc7612ed57b267272d0d6e">fmt::v5::buffered_file::operator=</a></div><div class="ttdeci">buffered_file &amp; operator=(buffered_file &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00152">posix.h:152</a></div></div>
<div class="ttc" id="alocale_8h_html"><div class="ttname"><a href="locale_8h.html">locale.h</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1buffered__file_html_a52e4076f24c9a64080ef4828329c1cad"><div class="ttname"><a href="classfmt_1_1v5_1_1buffered__file.html#a52e4076f24c9a64080ef4828329c1cad">fmt::v5::buffered_file::print</a></div><div class="ttdeci">void print(string_view format_str, const Args &amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00177">posix.h:177</a></div></div>
<div class="ttc" id="anamespacespdlog_html_a658d68d4ebdb11793b1e78582f108674"><div class="ttname"><a href="namespacespdlog.html#a658d68d4ebdb11793b1e78582f108674">spdlog::get</a></div><div class="ttdeci">std::shared_ptr&lt; logger &gt; get(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="spdlog_8h_source.html#l00053">spdlog.h:53</a></div></div>
<div class="ttc" id="aposix_8h_html_a6fa0773ef89920062fe6ab8b6e3cf337"><div class="ttname"><a href="posix_8h.html#a6fa0773ef89920062fe6ab8b6e3cf337">FMT_POSIX</a></div><div class="ttdeci">#define FMT_POSIX(call)</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00035">posix.h:35</a></div></div>
<div class="ttc" id="aclassfmt_1_1v5_1_1buffered__file_html_abbd16863df6a504cceb14db716ac0573"><div class="ttname"><a href="classfmt_1_1v5_1_1buffered__file.html#abbd16863df6a504cceb14db716ac0573">fmt::v5::buffered_file::get</a></div><div class="ttdeci">FILE * get() const</div><div class="ttdef"><b>Definition:</b> <a href="posix_8h_source.html#l00166">posix.h:166</a></div></div>
<div class="ttc" id="aformat_8h_html_ad9e2ed6d3b432a04c9622c34a2495304"><div class="ttname"><a href="format_8h.html#ad9e2ed6d3b432a04c9622c34a2495304">FMT_THROW</a></div><div class="ttdeci">#define FMT_THROW(x)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00115">format.h:115</a></div></div>
<div class="ttc" id="anamespacefmt_1_1v5_1_1internal_html_a612441ca8e1a7a5f773ee3d616d9d62c"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a612441ca8e1a7a5f773ee3d616d9d62c">fmt::v5::internal::write</a></div><div class="ttdeci">void write(std::basic_ostream&lt; Char &gt; &amp;os, basic_buffer&lt; Char &gt; &amp;buf)</div><div class="ttdef"><b>Definition:</b> <a href="ostream_8h_source.html#l00076">ostream.h:76</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_0c3a0641627b76fd80f03d211e44dc98.html">fmt</a></li><li class="navelem"><a class="el" href="dir_148a221396087d65c55fa0ea541856de.html">bundled</a></li><li class="navelem"><a class="el" href="posix_8h.html">posix.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>
